package com.example.person_web.core.service;

import com.example.person_web.common.WrapperResponse;
import com.example.person_web.core.dto.UserInfoDTO;
import jakarta.servlet.http.HttpServletRequest;

import java.io.IOException;

public interface LoginRegisterService {
    public WrapperResponse login(UserInfoDTO userInfoDTO);

    public WrapperResponse register(UserInfoDTO userInfoDTO);

    public WrapperResponse queryCode(UserInfoDTO userInfoDTO) throws IOException;

    public WrapperResponse autoLogIn(HttpServletRequest request);

    public WrapperResponse setBackground(String imageUrl,HttpServletRequest request);
}
